package com.evan.design.principle.singleresponsibility.v2.function;

/**
 * @author :liujiapeng01
 * @date :2019-03-20 20:08
 **/
public class Method {


    private void updateUserInfo(String username, String address) {
        username = "tom";
        address = "beijing";
    }

    private void updateUserInfo(String username, String... properties) {

    }


    private void updateUsername(String username) {
        username = "tom";
    }


    private void updateUserAddress(String address) {
        address = "beijing";
    }

    private void doingsomething(boolean b) {
        if (b) {
            //todo something1
        } else {
            //todo something2
        }
    }

}
